﻿namespace EnergyManagement.Domain;

public class BaseEntity
{
    [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
    public long Id { get; set; }
    
    [SugarColumn(ColumnName = "CreatedTime")]
    public DateTime CreatedTime { get; set; }
    
    [SugarColumn(ColumnName = "UpdatedTime", IsNullable = true)]
    public DateTime? UpdatedTime { get; set; }
    
    [SugarColumn(ColumnName = "IsDeleted")]
    public bool IsDeleted { get; set; }
}
